<?php
/**
 * Created by PhpStorm.
 * User: thanatos
 * Date: 2017/11/30
 * Time: 下午2:30
 */

namespace common\helpers;


class OrderHelper{
    
    public static function generateOrderSn()
    {
        return date('Ymd') . str_pad(mt_rand(1, 99999), 5, '0', STR_PAD_LEFT);
    }
}